<ion-view view-title="限时抢购">
	
  <ion-content scroll="false">
  	<div class="row padding-0 font-large-my text-center">
		<div class="col" ng-class="selectIndex==0?'top-activated':''" on-tap="activeSlide(0)">
	              进行中
        </div>
		<div class="col" ng-class="selectIndex==1?'top-activated':''" on-tap="activeSlide(1)">
		      已结束
		</div>
	</div>
	
	  <ion-slide-box delegate-handle="main-handle" on-slide-changed="slideChanged(index)"  show-pager="false">
		<ion-slide>	
		<ion-scroll direction="y" ng-style="myObj" lazy-scroll>
		<!--描述：下拉刷新-->
		<ion-refresher pulling-text="下拉刷新..." on-refresh="doRefresh()"></ion-refresher>
		  <div class="list list-borderless" ng-repeat="doing in datas.doing">
		    <li class="item item-image">
		    	<img src="{{doing.image.image}}" />
		    </li>	
		  	<li class="item padding-5">
		  		<span class="assertive">{{doing.name}}</span>
		  		<span class="right-zhang balanced">进行中...</span>
		  	</li>
		  	<li class="item padding-5 font-gray-my">
		  		<i class="icon ion-clock"></i>
		  		开始时间：{{doing.start_time}}
		  	</li>
		  		<li class="item padding-5 font-gray-my">
		  		<i class="icon ion-clock"></i>
		  		结束时间：{{doing.end_time}}
		  	</li>
		  	<li class="item padding-0">
		  	 <div class="button-bar padding">
		  		<button class="button button-small button-positive button-outline"  on-tap="onshow_grabseckill(doing.act_id)" style="border-right:1px solid #387ef5;"><i class="ion-person"></i>&nbsp;参加</button>
		  		<button class="button button-small  button-assertive button-outline  col-offset-10"><i class="ion-android-contacts" ></i>&nbsp;群互动</button>
			</div>	
		  	</li>
		  </div>
		<!--描述：当用户到达页脚或页脚附近时-->
		<ion-infinite-scroll ng-if="!isLoad" immediate-check="false" on-infinite="doRefreshMore()" distance="1%"></ion-infinite-scroll>
	</ion-scroll>
   </ion-slide>
	  
		<ion-slide>
			<ion-scroll direction="y" ng-style="myObj" lazy-scroll>
		<!--描述：下拉刷新-->
		<ion-refresher pulling-text="下拉刷新..." on-refresh="doRefresh()"></ion-refresher>
		  <div class="list list-borderless" ng-repeat="doing in datas.doing">
		    <li class="item item-image">
		    	<img src="{{doing.image.image}}" />
		    </li>	
		  	<li class="item padding-5">
		  		{{doing.name}}
		  		<span class="right-zhang">已结束</span>
		  	</li>
		  	<li class="item padding-5 font-gray-my">
		  		<i class="icon ion-clock"></i>
		  		开始时间：{{doing.start_time}}
		  	</li>
		  		<li class="item padding-5 font-gray-my">
		  		<i class="icon ion-clock"></i>
		  		结束时间：{{doing.end_time}}
		  	</li>
		  	<li class="item padding-10" on-tap="onshow_statistics(doing.act_id)">
		  		<button class="button button-small button-block button-assertive button-outline"><i class="icon ion-android-options"></i>&nbsp;统计</button>
			</li>
		  </div>
		<!--描述：当用户到达页脚或页脚附近时-->
		<ion-infinite-scroll ng-if="!isLoad" immediate-check="false" on-infinite="doRefreshMore()" distance="1%"></ion-infinite-scroll>
	</ion-scroll>
		</ion-slide>
		
	</ion-slide-box>
  </ion-content>
</ion-view>